package com.cloudkinto.service.fbaorderoutput.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Author Administrator
 *
 * @Des
 * @Version
 * @Date 2021/10/15
 */
@Data
public class OpenAPIFbaOrderUpdateReq {
    @ApiModelProperty(name = "id", required = true)
    @NotNull(message = "order.no.id")
    private long id;

    @ApiModelProperty(value = "申请发货日期")
    private String sendDate;

    @ApiModelProperty(name = "所属店铺", required = true)
    @NotNull(message = "pls.choose.out.shop")
    private Long shopId;

    @ApiModelProperty(name = "所在仓库", required = true)
    @NotNull(message = "ls.choose.out.storage")
    private Long storageId;

    @ApiModelProperty(name = "顾客自定单号", required = true)
    private String orderNo;

    @ApiModelProperty(name = "备注")
    private String tips;

    @ApiModelProperty(name = "文件id(uploadFile接口返回的fileId)")
    private Long fileId;

    @ApiModelProperty(name = "产品的文件id(uploadFile接口返回的fileId)")
    private Long productFileId;

    @ApiModelProperty(name = "其他的文件id(uploadFile接口返回的fileId)")
    private Long otherFileId;

    @ApiModelProperty(name = "po号")
    private String poNumber;

    @ApiModelProperty(name = "fba仓库Code", required = true)
    @NotNull(message = "pls.choose.fba.storage")
    private String fbaStorageCode;
    @ApiModelProperty(name = "fba仓库Id")
    private Long fbaStorageId;

    @ApiModelProperty(name = "运输id", required = true)
    @NotNull(message = "pls.choose.out.track")
    private Long trackId;
    @NotNull(message = "order.no.package")
    List<OpenApiFbaOrderOutputPackageUpdateReq> packageList;
}
